Version

GetAppointmentsInRange(DateTime,DateTime,Owner[]) Method

Returns a collection of Appointment objects that have any part of the appointment in the specified date range.
Syntax
'Declaration
 
Public Overloads Function GetAppointmentsInRange( _
   ByVal startDateTime As Date, _
   ByVal endDateTime As Date, _
   ByVal owners() As Owner _
) As AppointmentsSubsetCollection
public AppointmentsSubsetCollection GetAppointmentsInRange( 
   DateTime startDateTime,
   DateTime endDateTime,
   Owner[] owners
)

Parameters

startDateTime
Earliest start time for an appointment.
endDateTime
Latest end time for an appointment.
owners
Only appointments associated with these owners will be included.

Return Value

An AppointmentsSubsetCollection containing all the Appointment objects that overlap with the startDateTime and endDateTime.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also